var e = require("../../utils/util.js");

Page({
    data: {},
    onLoad: function(o) {
        console.log(o);
        var i = o.lid || "";
        if (e.isTextEmpty(i)) {
            var t = decodeURIComponent(o.q);
            console.log(t), i = "undefined" != t ? t.split("=")[1] : decodeURIComponent(o.scene || "");
        }
        wx.redirectTo({
            url: "/pages/detail/detail?lid=" + i
        });
    }
});